package com.cn.wanxi.consumer.util;

/**
 * @ClassName ParamUtil
 * @Description 参数工具类
 * @Author JiJiang
 * @Date 2022/9/28 19:34
 * @Version 1.0
 */

public class ParamUtil {


    //redis中用户对象key的前缀
    public static final String REDIS_REGISTER_USERNAME_PREFIX = "user:username:register";

    //队列名
    public static final String QUEUE_NAME_REGISTER = "que_wx_regsiter";

    //交换机名
    public static final String EXCHANGE_NAME_USER = "exc_wx_user.topic";

    //队列与交换机的绑定规则
    public static final String BINDING_KEY_NAME = "wx.user.#";


    //region 线程消息相关


    //队列名
    public static final String QUEUE_NAME_THREAD = "que_wx_thread";

    //交换机名
    public static final String EXCHANGE_NAME_THREAD = "exc_wx_user.topic";

    //队列与交换机的绑定规则
    public static final String BINDING_KEY_NAME_THREAD = "wx.thread.#";

    //endregion
}
